<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<%@ include file="/m/include/init_mobile.jsp" %>
<%
%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
	<title><%= HOME_NAME %></title>
	<%@ include file="/m/include/cssnjs.jsp"  %>
	<script type="text/javascript">
	$(document).ready(function() {
		$('#header-nav li:nth-child(4)').addClass('on');
	});
	</script>
	
</head>
<body>
	<div id="wrap">
		<%@ include file="/m/include/header.jsp"  %>
		<div id="contents">
        	<ul class="listview">
				<li class="group">이용안내</li>
				<li><a href="./wordList.jsp?os=<%=os%>&board_id=1">공지사항</a></li>
				<li><a href="./useTerms.jsp?os=<%=os%>">이용약관</a></li>
				<li><a href="./privacy.jsp?os=<%=os%>">개인정보취급방침</a></li>
        	</ul>
        	<ul class="listview">
				<li class="group">회원정보</li>
	<%	if (isLogin) { %>
				<li><a href="/member/logout.do?os=<%=os%>">로그아웃</a></li>
				<li><a href="./memberUpdate.jsp?os=<%=os%>&member_id=<%=session_user_id%>">회원정보변경</a></li>
	        	<li><a href="./salesList.jsp?os=<%=os%>&member_id=<%=session_user_id%>">구매내역</a></li>
				<li><a href="./deviceList.jsp?os=<%=os%>&member_id=<%=session_user_id%>">디바이스관리</a></li>
				<li><a href="/memberOut.jsp?os=<%=os%>&member_id=<%=session_user_id%>">회원탈퇴</a></li>
	<%	} else { %>
				<li><a href="./login.jsp?os=<%=os%>">로그인</a></li>
				<li><a href="./findPassword.jsp?os=<%=os%>">비밀번호찾기</a></li>
				<li><a href="./memberRegist.jsp?os=<%=os%>">회원가입</a></li>
	<%	} %>
        	</ul>

        </div>
  	</div>
</body>
</html>

